package com.blb.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.community.entity.SysOperLog;

import java.util.List;

/**
 * <p>
 * 操作日志记录 Mapper 接口
 * </p>
 *
 * @author 帅帅
 * @since 2022-07-02
 */
public interface SysOperLogMapper extends BaseMapper<SysOperLog> {

    /**
     * 分页列表展示
     */
    IPage<SysOperLog> getAllOperLogPage(IPage<SysOperLog> page);

    /**
     * 查询日志详情
     * @param id
     * @return
     */
    List<SysOperLog> selectOperLogDetails(Long id);

    /**
     * 模糊查询
     */
    IPage<SysOperLog>  getFuzzyOperLog(IPage<SysOperLog> page,String title,String operName,String businessType,String status,String beginTime,String endTime);
}
